package com.ksd.pug.clound;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient // 开启eureka的客户端支持
@EnableFeignClients("com.ksd.pug.clound.api") // 开启fegin的支持
@MapperScan("com.ksd.pug.clound.mapper")
public class FeignConsumberApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignConsumberApplication.class, args);
    }

}